projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f2eb61
)
(vc-lookup-triple): Yield nil, not "", if NAME is nil.
author
Paul Eggert
<eggert@twinsun.com>
Fri, 18 Feb 1994 02:51:33 +0000
(
02:51
+0000)
committer
Paul Eggert
<eggert@twinsun.com>
Fri, 18 Feb 1994 02:51:33 +0000
(
02:51
+0000)
Otherwise vc-revert-buffer fails with SCCS.
lisp/vc.el
patch
|
blob
|
history
diff --git
a/lisp/vc.el
b/lisp/vc.el
index 896e126d17894fdc68b45e6e69eb025c5d12de3a..ed2040a2609b37ff8e4d3070d0f44dbefaf86d9e 100644
(file)
--- a/
lisp/vc.el
+++ b/
lisp/vc.el
@@
-1038,7
+1038,7
@@
on a buffer attached to the file named in the current Dired buffer line."
(defun vc-lookup-triple (file name)
;; Return the numeric version corresponding to a named snapshot of file
;; If name is nil or a version number string it's just passed through
- (cond ((null name)
""
)
+ (cond ((null name)
name
)
((let ((firstchar (aref name 0)))
(and (>= firstchar ?0) (<= firstchar ?9)))
name)